package com.mojiayi.learn.common.result;

/**
 * 单条返回结果集.
 *
 * @param <T> 结果集对象
 */
public class ResultSet<T> extends BaseResultSet<T> {
    private static final long serialVersionUID = 1L;
    /** 保存返回结构集. **/
    private T result;

    public T getResult() {
        return (this.result == null ? null : this.result);
    }

    public void setResult(T result) {
        this.result = result;
    }
}